// P1157 write by cn_ryh